package com.dzf.service.impl;

import com.dzf.dao.TypeDao;
import com.dzf.entity.Type;
import com.dzf.service.TypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TypeServiceImpl implements TypeService {
    @Autowired
    TypeDao typeDao;


    @Override
    public List<Type> findAll() {
        List<Type> list = typeDao.findAll();
        return list;
    }
}
